//
//  DFZMovieController.m
//  觅尚
//
//  Created by No.8 on 2019/5/17.
//  Copyright © 2019 No.8. All rights reserved.
//

#import "DFZMovieController.h"
#import "DFZMovieView.h"
#import "MSAccuntLoginController.h"
@interface DFZMovieController ()

@end

@implementation DFZMovieController

- (void)viewDidLoad {
    [super viewDidLoad];
    DFZMovieView *movieVC = [DFZMovieView MovieView];
    movieVC.movieURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"mp3" ofType:@".mp4"]];// 选择本地的视屏
    [self.view addSubview:movieVC];
    
    
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(refreshTableView:) name:@"REFRESH_TABLEVIEW" object:nil];
}
- (void)refreshTableView:(NSNotification *) notification {
    //处理消息
    MSAccuntLoginController * lc = [[MSAccuntLoginController alloc] init];
    [self presentViewController:lc animated:NO completion:nil];
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
